﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HYweixinOnline.Entities;
using HYweixinOnline.Admin;

namespace HYweixinOnline.Areas.Api.Controllers
{
    public class SysManagerController : Controller
    {
        //
        // GET: /Api/SysManager/
        private SysUserDAO _suDao = new SysUserDAO();
        public JsonResult Search()
        {
            IList<TbSysUser> temp = _suDao.GetAll();
            return Json(temp,JsonRequestBehavior.AllowGet);
        }


    }
}
